﻿using UnityEngine;

namespace UnityView.Utils
{
    public static class MathExtension
    {
        public static float Modf(this float n, float m)
        {
            return n - Mathf.FloorToInt(n / m) * m;
        }
    }
}
